export default{
	data() {
		return {
			notice: true,
			show: {
				'tip0Show': true,
				'tip1Show': false,
				'tip2Show': false,
				'tip3Show': false,
				'tip4Show': false
			}
		}
	},
	methods: {
		next(value) {
			if(value === 4){
				this.notice = false;
				return;
			}
			this.show['tip'+value+'Show'] = false;
			this.show['tip'+(value+1)+'Show'] = true;
		},
		skip() {
			this.notice = false;
		},
		biNoticeNumber() {
			if(Number(localStorage.getItem('ZULONGBINOTIC')) > 0){
				this.notice = false;
			}else{
				var  n = Number(localStorage.getItem('ZULONGBINOTIC'))+1;
				localStorage.setItem('ZULONGBINOTIC',n)
			}
		}
	},
	mounted() {
		this.biNoticeNumber();
	}
}